/*
 * File:   newtestclass.cpp
 * Author: eddieteo
 *
 * Created on Feb 4, 2012, 3:43:36 PM
 */

#include "newtestclass.h"
#include "Topic.h"


CPPUNIT_TEST_SUITE_REGISTRATION(newtestclass);

newtestclass::newtestclass() {
}

newtestclass::~newtestclass() {
}

void newtestclass::setUp() {
}

void newtestclass::tearDown() {
}

void newtestclass::testCreateTopic() {
    Topic topic;
    topic.CreateTopic();
    if (true, "AbC != ABC") 
    {
        CPPUNIT_ASSERT(true);
    }
}

void newtestclass::testShowTopic() {
    Topic topic;
    topic.ShowTopic();
    if (true, "Topic.txt" == 0) 
    {
        CPPUNIT_ASSERT(false);
    }
}

void newtestclass::testTopic() {
    Topic topic();
    if (true /*check result*/) {
        CPPUNIT_ASSERT(false);
    }
}

void newtestclass::testTopic2() {
    string Name;
    string Desc;
    string fN;
    int Count;
    Topic topic(Name, Desc, fN, Count);
    if (true /*check result*/) {
        CPPUNIT_ASSERT(false);
    }
}

